home *** CD-ROM | disk | FTP | other *** search
- // ========================
- // BATTLEZONE COMMAND PANEL
- // ========================
-
- // define the control panel colors
- ConfigureInterface()
- {
- DefineColorGroup("COMMANDTEXT")
- {
- // unselected, unhighlit, undisabled, unghosted
- Foreground(0, 190, 199, 254, 255);
- Background(0, 0, 127, 255, 127);
- Gradient(0, 0, 63, 127, 127);
-
- // selected, unhighlit, undisabled, unghosted
- Foreground(1, 255, 255, 255, 255);
- Background(1, 190, 200, 255, 255);
- Gradient(1, 122, 142, 226, 255);
-
- // unselected, highlit, undisabled, unghosted
- Foreground(2, 255, 255, 255, 255);
- Background(2, 127, 191, 255, 127);
- Gradient(2, 63, 95, 127, 127);
-
- // selected, highlit, undisabled, unghosted
- Foreground(3, 255, 255, 255, 255);
- Background(3, 255, 255, 255, 127);
- Gradient(3, 127, 127, 127, 127);
-
- // unselected, unhighlit, disabled, unghosted
- Foreground(4, 153, 153, 153, 255);
- Background(4, 0, 127, 255, 127);
- Gradient(4, 0, 63, 127, 127);
-
- // selected, unhighlit, disabled, unghosted
- Foreground(5, 255, 255, 255, 255);
- Background(5, 190, 200, 255, 255);
- Gradient(5, 122, 142, 226, 255);
-
- // unselected, highlit, disabled, unghosted
- Foreground(6, 255, 255, 255, 255);
- Background(6, 127, 191, 255, 127);
- Gradient(6, 63, 95, 127, 127);
-
- // selected, highlit, disabled, unghosted
- Foreground(7, 255, 255, 255, 255);
- Background(7, 255, 255, 255, 127);
- Gradient(7, 127, 127, 127, 127);
-
- // unselected, unhighlit, undisabled, ghosted
- Foreground(8, 190, 199, 254, 127);
- Background(8, 0, 127, 255, 127);
- Gradient(8, 0, 63, 127, 127);
-
- // selected, unhighlit, undisabled, ghosted
- Foreground(9, 255, 255, 255, 255);
- Background(9, 190, 200, 255, 255);
- Gradient(9, 122, 142, 226, 255);
-
- // unselected, highlit, undisabled, ghosted
- Foreground(10, 255, 255, 255, 255);
- Background(10, 127, 191, 255, 127);
- Gradient(10, 63, 95, 127, 127);
-
- // selected, highlit, undisabled, ghosted
- Foreground(11, 255, 255, 255, 255);
- Background(11, 255, 255, 255, 127);
- Gradient(11, 127, 127, 127, 127);
-
- // unselected, unhighlit, disabled, ghosted
- Foreground(12, 76, 76, 76, 255);
- Background(12, 0, 127, 255, 127);
- Gradient(12, 0, 63, 127, 127);
-
- // selected, unhighlit, disabled, ghosted
- Foreground(13, 255, 255, 255, 255);
- Background(13, 190, 200, 255, 255);
- Gradient(13, 122, 142, 226, 255);
-
- // unselected, highlit, disabled, ghosted
- Foreground(14, 255, 255, 255, 255);
- Background(14, 127, 191, 255, 127);
- Gradient(14, 63, 95, 127, 127);
-
- // selected, highlit, disabled, ghosted
- Foreground(15, 255, 255, 255, 255);
- Background(15, 255, 255, 255, 127);
- Gradient(15, 127, 127, 127, 127);
- }
-
- DefineColorGroup("COMMANDICON")
- {
- // unselected, unhighlit, undisabled, unghosted
- Foreground(0, 190, 199, 254, 255);
- Background(0, 190, 199, 254, 255);
- Gradient(0, 190, 199, 254, 255);
-
- // selected, unhighlit, undisabled, unghosted
- Foreground(1, 255, 255, 255, 255);
- Background(1, 255, 255, 255, 255);
- Gradient(1, 255, 255, 255, 255);
-
- // unselected, highlit, undisabled, unghosted
- Foreground(2, 255, 255, 255, 255);
- Background(2, 255, 255, 255, 255);
- Gradient(2, 255, 255, 255, 255);
-
- // selected, highlit, undisabled, unghosted
- Foreground(3, 255, 255, 255, 255);
- Background(3, 255, 255, 255, 255);
- Gradient(3, 255, 255, 255, 255);
-
- // unselected, unhighlit, disabled, unghosted
- Foreground(4, 153, 153, 153, 255);
- Background(4, 153, 153, 153, 255);
- Gradient(4, 153, 153, 153, 255);
-
- // selected, unhighlit, disabled, unghosted
- Foreground(5, 255, 255, 255, 255);
- Background(5, 255, 255, 255, 255);
- Gradient(5, 255, 255, 255, 255);
-
- // unselected, highlit, disabled, unghosted
- Foreground(6, 255, 255, 255, 255);
- Background(6, 255, 255, 255, 255);
- Gradient(6, 255, 255, 255, 255);
-
- // selected, highlit, disabled, unghosted
- Foreground(7, 255, 255, 255, 255);
- Background(7, 255, 255, 255, 255);
- Gradient(7, 255, 255, 255, 255);
-
- // unselected, unhighlit, undisabled, ghosted
- Foreground(8, 190, 199, 254, 127);
- Background(8, 190, 199, 254, 127);
- Gradient(8, 190, 199, 254, 127);
-
- // selected, unhighlit, undisabled, ghosted
- Foreground(9, 255, 255, 255, 255);
- Background(9, 255, 255, 255, 255);
- Gradient(9, 255, 255, 255, 255);
-
- // unselected, highlit, undisabled, ghosted
- Foreground(10, 255, 255, 255, 255);
- Background(10, 255, 255, 255, 255);
- Gradient(10, 255, 255, 255, 255);
-
- // selected, highlit, undisabled, ghosted
- Foreground(11, 255, 255, 255, 255);
- Background(11, 255, 255, 255, 255);
- Gradient(11, 255, 255, 255, 255);
-
- // unselected, unhighlit, disabled, ghosted
- Foreground(12, 76, 76, 76, 255);
- Background(12, 76, 76, 76, 255);
- Gradient(12, 76, 76, 76, 255);
-
- // selected, unhighlit, disabled, ghosted
- Foreground(13, 255, 255, 255, 255);
- Background(13, 255, 255, 255, 255);
- Gradient(13, 255, 255, 255, 255);
-
- // unselected, highlit, disabled, ghosted
- Foreground(14, 255, 255, 255, 255);
- Background(14, 255, 255, 255, 255);
- Gradient(14, 255, 255, 255, 255);
-
- // selected, highlit, disabled, ghosted
- Foreground(15, 255, 255, 255, 255);
- Background(15, 255, 255, 255, 255);
- Gradient(15, 255, 255, 255, 255);
- }
- }
-
- //
- // CREATE INFO PANEL
- //
- CreateControl("InfoPanel", "WINDOW")
- {
- Pos(50, 5);
- Size(130, 48);
- Style("TRANSPARENT");
-
- CreateControl("Group", "WINDOW")
- {
- Pos(0, 0);
- Size(130, 44);
- Style("TRANSPARENT");
-
- CreateControl("Title", "STATIC")
- {
- Pos(0, 0);
- Size(170, 16);
- Style("TRANSPARENT");
- Font("MEDIUM");
- JustifyText("LEFT");
- }
-
- CreateControl("Hull0", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(0, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull0");
- }
- CreateControl("Ammo0", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(3, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo0");
- }
-
- CreateControl("Hull1", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(12, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull1");
- }
- CreateControl("Ammo1", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(15, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo1");
- }
-
- CreateControl("Hull2", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(24, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull2");
- }
- CreateControl("Ammo2", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(27, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo2");
- }
-
- CreateControl("Hull3", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(36, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull3");
- }
- CreateControl("Ammo3", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(39, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo3");
- }
-
- CreateControl("Hull4", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(48, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull4");
- }
- CreateControl("Ammo4", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(51, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo4");
- }
-
- CreateControl("Hull5", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(60, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull5");
- }
- CreateControl("Ammo5", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(63, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo5");
- }
-
- CreateControl("Hull6", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(72, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull6");
- }
- CreateControl("Ammo6", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(75, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo6");
- }
-
- CreateControl("Hull7", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(84, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull7");
- }
- CreateControl("Ammo7", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(87, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo7");
- }
-
- CreateControl("Hull8", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(96, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull8");
- }
- CreateControl("Ammo8", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(99, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo8");
- }
-
- CreateControl("Hull9", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(108, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.hull9");
- }
- CreateControl("Ammo9", "GAUGE")
- {
- ColorGroup("WHITE");
- Pos(111, 16);
- Size(3, 16);
- Orientation("VERTICAL");
- UseVar("control.command.ammo9");
- }
- }
-
- CreateControl("Action", "STATIC")
- {
- Pos(0, 32);
- Size(170, 16);
- Style("TRANSPARENT");
- Font("SMALL");
- JustifyText("LEFT");
- }
- }
-
- //
- // CREATE ACTION PANEL
- //
- CreateControl("ActionPanel", "WINDOW")
- {
- Pos(10, 61);
- Size(185, 16);
- Style("TRANSPARENT");
-
- CreateControl("Action", "BUTTON")
- {
- Pos(0, 0);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressReticle");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(0, 0);
- Size(60, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("Space");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- OnEvent("PressReticle")
- {
- Cmd("control.command.reticle");
- }
- }
-
- //
- // CREATE COMMAND PANEL
- //
- CreateControl("CommandPanel", "WINDOW")
- {
- Pos(10, 81);
- Size(185, 193);
- Style("TRANSPARENT");
-
- CreateControl("Cancel", "BUTTON")
- {
- Pos(0, 0);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCancel");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(20, 0);
- Size(40, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("Tab");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
- Text("Close Menu");
- }
- }
-
- CreateControl("Command0", "BUTTON")
- {
- Pos(0, 20);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand0");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("0");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- CreateControl("Command1", "BUTTON")
- {
- Pos(0, 37);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand1");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("1");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- CreateControl("Command2", "BUTTON")
- {
- Pos(0, 54);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand2");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("2");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- CreateControl("Command3", "BUTTON")
- {
- Pos(0, 71);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand3");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("3");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- CreateControl("Command4", "BUTTON")
- {
- Pos(0, 88);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand4");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("4");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- CreateControl("Command5", "BUTTON")
- {
- Pos(0, 105);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand5");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("5");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- CreateControl("Command6", "BUTTON")
- {
- Pos(0, 122);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand6");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("6");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- CreateControl("Command7", "BUTTON")
- {
- Pos(0, 139);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand7");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("7");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- CreateControl("Command8", "BUTTON")
- {
- Pos(0, 156);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand8");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("8");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- CreateControl("Command9", "BUTTON")
- {
- Pos(0, 173);
- Size(185, 16);
- Style("TRANSPARENT");
- NotifyParent("Button::Press", "PressCommand9");
-
- CreateControl("Key", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(40, 0);
- Size(20, 16);
- Image("colorize.tga", 0, 0);
- Font("MEDIUM");
- JustifyText("RIGHT");
- Text("9");
- }
-
- CreateControl("Text", "STATIC")
- {
- ColorGroup("COMMANDTEXT");
- Pos(65, 0);
- Size(120, 16);
- Image("colorize.tga", 7, 0);
- Font("SMALL");
- JustifyText("LEFT");
-
- CreateControl("Cost", "STATIC")
- {
- Style("TRANSPARENT");
- Geom("RIGHT");
- Pos(-8, 0);
- Size(32, 16);
- Font("TINY");
- JustifyText("RIGHT");
- }
- }
- }
-
- OnEvent("PressCancel")
- {
- Cmd("control.command.cancel");
- }
-
- OnEvent("PressCommand0")
- {
- Cmd("control.command.mode0");
- }
-
- OnEvent("PressCommand1")
- {
- Cmd("control.command.mode1");
- }
-
- OnEvent("PressCommand2")
- {
- Cmd("control.command.mode2");
- }
-
- OnEvent("PressCommand3")
- {
- Cmd("control.command.mode3");
- }
-
- OnEvent("PressCommand4")
- {
- Cmd("control.command.mode4");
- }
-
- OnEvent("PressCommand5")
- {
- Cmd("control.command.mode5");
- }
-
- OnEvent("PressCommand6")
- {
- Cmd("control.command.mode6");
- }
-
- OnEvent("PressCommand7")
- {
- Cmd("control.command.mode7");
- }
-
- OnEvent("PressCommand8")
- {
- Cmd("control.command.mode8");
- }
-
- OnEvent("PressCommand9")
- {
- Cmd("control.command.mode9");
- }
- }
-
- CreateControl("RequirePopup", "LISTBOX")
- {
- Pos(200, 40);
- Size(100, 50);
- CellSize(100, 12);
- BorderSize(5);
- Font("SMALL");
- Style("INERT", "NOSELECTION");
-
- ItemConfig()
- {
- Style("TRANSPARENT", "INERT");
- }
- }
-